//
//  FoodGoodsTableViewCell.h
//  FaceCard
//
//  Created by 瞿伦平 on 2016/10/17.
//  Copyright © 2016年 瞿伦平. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+AutoSize.h"
#import "QUCustomDefine.h"
#import "APIObject.h"
#import "UIImageView+AFNetworking.h"

#import <CoreText/CoreText.h>
#import "NSString+WPAttributedMarkup.h"
#import "WPAttributedStyleAction.h"
#import "WPHotspotLabel.h"

#import "HCSStarRatingView.h"

static const float kFoodShopTableViewCellImageHight = 60;
static const float kFoodShopTableViewCellPadding = 10;
static const float kCampainViewHeight = 20;




@interface FoodGoodsTableViewCell : UITableViewCell
@property(strong, nonatomic) UIImageView*       thumbImgView;
@property(strong, nonatomic) UILabel*           nameLable;
@property(strong, nonatomic) UILabel*           priceLable;
@property(strong, nonatomic) UILabel*           saleNumLable;
@property(strong, nonatomic) UILabel*           countLable;
@property(strong, nonatomic) UIButton*          jianBtn;
@property(strong, nonatomic) UIButton*          addBtn;

@property(assign, nonatomic) int                count;

@property (nonatomic, copy) void (^jianCallBack)(int count, FoodGoodsTableViewCell *tagCell); //减按钮
@property (nonatomic, copy) void (^addCallBack)(int count, FoodGoodsTableViewCell *tagCell);//加按钮

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier isCartCell:(BOOL)isCartCell;

-(void)loadUIWithItem:(FoodGoods *)item;

@end







